package cn.edu.scau.cmi.xiehaizhou.abstractFactory.factory;

import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domain.PingAnAutoDamage;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domain.PingAnBodyInjur;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domain.PingAnMultiAccidents;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domain.PingAnPersonInjur;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domainAbstractClass.AutoDamage;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domainAbstractClass.BodyInjur;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domainAbstractClass.MultiAccidents;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domainAbstractClass.PersonInjur;

public class PingAnPolicy extends PolicyProducer{

	@Override
	public AutoDamage getAutoDamage() {
		return new PingAnAutoDamage();
	}

	@Override
	public BodyInjur getBodyInjur() {
		return new PingAnBodyInjur();
	}

	@Override
	public MultiAccidents getMultiAccidents() {
		return new PingAnMultiAccidents();
	}

	@Override
	public PersonInjur getPersonInjur() {
		return new PingAnPersonInjur();
	}

}
